﻿import { ISysGroup } from '/@/views/fileattachment/api/interface'
export interface ISysJobPosition {
  ID?: string | null;
  Code: string | null;
  Name: string | null;
  Description: string | null;
  GroupId: string | null;
  Group?: ISysGroup;
  Roles: string | null;
  IsManager: boolean | null;
}

export interface ISysJobPositionVm {
	Entity: {
		ID: string | null;
		Code: string | null;
		Name: string | null;
		Description: string | null;
		GroupId: string | null;
		Roles: any;
		IsManager: boolean | null;
		Order: number | null; // 新增排序字段
    Salary: number | null; // 新增岗位薪资字段
	};
	SelectedRolesIds: string[];
	SelectedOrganizationIds: string[];
}

export interface ISysJobPositionView extends ISysJobPosition {

  RolesNames: string[];

}

export interface ISysJobPositionQuery {
  Code?: string
  Name?: string
  GroupId?: string
  Roles?: string
  SelectedRolesIds?: string[]
  SelectedOrganizationIds?: string[]
}
